/**
 * @filename:User 2023年03月24日
 * @project cloud_dev  V1.0
 * Copyright(c) 2020 shangtf Co. Ltd. 
 * All right reserved. 
 */
package com.cloud.work.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(shangtf测试数据表生成代码实体类)
 * 
 * @version: V1.0
 * @author: shangtf
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User extends Model<User> {

	private static final long serialVersionUID = 1679657763426L;
	
	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "")
	private Integer id;
    
	@ApiModelProperty(name = "nickname" , value = "昵称")
	private String nickname;
    
	@ApiModelProperty(name = "sex" , value = "性别，1男2女")
	private Integer sex;
    
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;
    
	@ApiModelProperty(name = "isDelete" , value = "是否删除 1是，0否")
	private Integer isDelete;

}
